<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>shuangmu</title>
    <script src="../static/js/vue.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="../static/js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
    <style type="text/css">
        #d1 {
            margin: 2% auto;
            height: 80%;
            width: 80%;
            /* border: #000000 1px solid; */
            position: fixed;
            left: 0px;
            right: 0px;
            overflow: hidden;

        }

        #one {
            margin: 0px auto;
            height: 100%;
            width: 100%;
        }

        #d2 {
            width: 70%;
            height: 65%;
            /* border: #000000 1px solid; */
            position: fixed;
            right: 0px;
            left: 0px;
            margin: 6% auto;

        }

        .c1 {
            width: 100%;
            height: 100%;

        }

        .l1 {
            display: inline-block;
            list-style: none;
            width: 10%;
            height: 10%;
            margin: 8px 10px 10px;

        }
    </style>
</head>
<body>
<div id="d1">

    <img src="../static/img/phone.png" id="one">
</div>
<div id="d2">
    <ul id="list">
        <li v-for="item in items" class="l1">
            <a :href='item.href'><img :src="item.img" alt="商品图片" class="c1"></a>
        </li>

</div>
</body>
<script type="text/javascript">
    var vm = new Vue({
        el: '#list',
        data: {
            items: [{'href': '/photo', 'img': '../static/img/tc1.png'}, {
                'href': '/news',
                'img': '../static/img/tc8.png'
            }],

            // items:['img/tc1.png','img/tc2.png','img/tc3.png','img/tc4.png','img/tc5.png','img/tc6.png','img/tc7.png','img/tc8.png','img/tc9.png','img/tc6.png']
        }
    })
</script>
</html>